home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
var
/
lib
/
dpkg
/
info
/
sgml-base.prerm
< prev
next >
Wrap
Text File
|
2004-10-26
|
1KB
|
45 lines
#!/bin/sh
## ----------------------------------------------------------------------
## debian/prerm : preremoval script for sgml-base
## ----------------------------------------------------------------------
## ----------------------------------------------------------------------
set -e
## ----------------------------------------------------------------------
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]
then
## ------------------------------------------------------------------
TRANSCAT=/etc/sgml/transitional.cat
if [ -f ${TRANSCAT} ]
then
update-catalog --remove --super ${TRANSCAT} || true
rm -f ${TRANSCAT} ${TRANSCAT}.old
fi
fi
## ----------------------------------------------------------------------
## automatically generated debhelper commands
# Automatically added by dh_usrlocal
(
while read dir; do
rmdir "$dir" 2>/dev/null || true
done
) << DATA
/usr/local/share/sgml/declaration
/usr/local/share/sgml/dtd
/usr/local/share/sgml/entities
/usr/local/share/sgml/misc
/usr/local/share/sgml/stylesheet
/usr/local/share/sgml
/usr/local/share
DATA
# End automatically added section
exit 0
## ----------------------------------------------------------------------